|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.HCIModelAdapter
com.highdeal.admin.hci.FileToBulkLoad
public class FileToBulkLoad
This Java class represents a file that was fetched by a rater instance and that is ready to be bulk loaded to another system.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="fileToBulkLoad">
<xs:complexType>
<xs:attribute name="fileName" type="xs:string" use="required"/>
<xs:attribute name="creationDate" type="xs:dateTime" use="required"/>
<xs:attribute name="instanceType" type="FromInstanceType" use="required"/>
<xs:attribute name="inError" type="xs:boolean" use="required"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="FromInstanceType">
<xs:restriction base="xs:string">
<xs:enumeration value="rater"/>
<xs:enumeration value="bulkLoader"/>
</xs:restriction>
</xs:simpleType>
| Nested Class Summary | |
|---|---|
static class |
FileToBulkLoad.FromInstanceType
This enumeration lists all the instance types from which the file is created (rater, bulkloader). |
| Field Summary | |
|---|---|
static java.lang.String |
ADDITIONAL_INFO
Additional Info |
static java.lang.String |
CREATION_DATE
Mapping for the creation date: "creationDate" |
static java.lang.String |
FILE_NAME
Mapping for the file name: "fileName" |
static java.lang.String |
INSTANCE_TYPE
Mapping for the instance type: "instanceType" |
static java.lang.String |
IS_IN_ERROR
Mapping for the is in error flag: "isInError" |
static java.lang.String |
TAG_NAME
Mapping for the status model: "fileToBulkLoad" |
| Constructor Summary | |
|---|---|
FileToBulkLoad()
Builds an empty FileToBulkLoad. |
|
FileToBulkLoad(java.lang.String fileName,
java.util.Date creationDate,
FileToBulkLoad.FromInstanceType instanceType,
boolean isInError,
java.lang.String additionalInfo)
Initializes a new FileToBulkLoadModel instance with the
file information. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds string data to this model. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child tag to this model. |
java.lang.String |
getAdditionalInfo()
Gets the additional information. |
java.util.Date |
getCreationDate()
Gets the date of file creation. |
java.lang.String |
getFileName()
Gets the file name. |
FileToBulkLoad.FromInstanceType |
getFromInstanceType()
Gets the instance type from which the file was created. |
java.lang.String |
getTagName()
Gets the XML tag name of the HCI model. |
boolean |
isInError()
Returns if the file is in error. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object. |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object. |
void |
setAdditionalInfo(java.lang.String additionalInfo)
Sets the additional information. |
void |
setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes. |
void |
setInError(boolean inError)
Sets if the file is in error or not. |
| Methods inherited from class com.highdeal.hci.HCIModelAdapter |
|---|
marshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TAG_NAME
public static final java.lang.String FILE_NAME
public static final java.lang.String CREATION_DATE
public static final java.lang.String INSTANCE_TYPE
public static final java.lang.String IS_IN_ERROR
public static final java.lang.String ADDITIONAL_INFO
| Constructor Detail |
|---|
public FileToBulkLoad()
public FileToBulkLoad(java.lang.String fileName,
java.util.Date creationDate,
FileToBulkLoad.FromInstanceType instanceType,
boolean isInError,
java.lang.String additionalInfo)
FileToBulkLoadModel instance with the
file information.
fileName - The name of the filecreationDate - The date when the file was createdinstanceType - The type of the instance which created the fileisInError - A flag indicating if the file is in error or notadditionalInfo - The additional information| Method Detail |
|---|
public java.lang.String getFileName()
public java.util.Date getCreationDate()
public FileToBulkLoad.FromInstanceType getFromInstanceType()
public void setInError(boolean inError)
inError - true if the file is in error, false otherwisepublic boolean isInError()
true if the file is in error, false otherwisepublic java.lang.String getAdditionalInfo()
public void setAdditionalInfo(java.lang.String additionalInfo)
additionalInfo - The additional informationpublic void setAttributes(XMLAttributes atts)
XMLAttributes.
atts - The XMLAttributes containing the data
public void addChild(java.lang.String tagName,
XMLMarshallable child)
This tag is ignored for this model.
tagName - The name of the tagchild - The XMLMarshallable child to addpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallable
output - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
output - The XML output to marshal the child objects intopublic java.lang.String getTagName()
ITagNameProvider
public void addCharacterData(java.lang.String cData)
This data is ignored for this model.
cData - The character data to add to the operation
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||